from typing import Optional

from pydantic import BaseModel


class UserUpdatePassWordRequest(BaseModel):
    id: str
    password: Optional[str] = ''
    new_password: str
    need_renew: Optional[bool] = True
    operator_is_admin: Optional[bool] = False
